package com.tuanzi.loan.business.repository.family;

import com.tuanzi.loan.business.entity.family.ProductMatchRule;
import com.tuanzi.loan.business.repository.family.custom.ProductMatchRuleRepositoryCustom;
import com.tuanzi.loan.core.repository.JPAAuditRepository;

/**
 * @author Ray 2017/09/21
 */
public interface ProductMatchRuleRepository extends ProductMatchRuleRepositoryCustom, JPAAuditRepository<ProductMatchRule, Long> {

    ProductMatchRule findByAdvertPositionAndRecommendPosition(Integer advertPosition, Integer recommendPosition);
}
